package com.xie.system.domain.template.objecttemplate;

import com.xie.codegen.processor.creator.GenCreator;
import com.xie.codegen.processor.query.GenQuery;
import com.xie.codegen.processor.repository.GenRepository;
import com.xie.codegen.processor.updater.GenUpdater;
import com.xie.codegen.processor.vo.GenVo;
import com.xie.common.annotation.FieldDesc;
import com.xie.jpa.support.BaseJpaAggregate;
import javax.persistence.Entity;
import javax.persistence.Table;
import lombok.Data;

@GenVo(pkgName = "com.xie.system.domain.template.objecttemplate.vo")
@GenCreator(pkgName = "com.xie.system.domain.template.objecttemplate.creator")
@GenUpdater(pkgName = "com.xie.system.domain.template.objecttemplate.updater")
@GenQuery(pkgName = "com.xie.system.domain.template.objecttemplate.query")
@Entity
@Table(name = "template_item_rel")
@Data
public class TemplateItemRel extends BaseJpaAggregate {

  @FieldDesc(name = "模板id")
  private Long templateId;

  @FieldDesc(name = "模板项id")
  private Long itemId;

}
